package com.yxkj.syh.app.huarong.bean;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import mlxy.utils.S;

/**
 * 创建者：SYH
 * 时间：2020/5/27 11:29
 * 编辑者：SYH、
 * 标签：
 * 补充说明：
 */
public class UserMainInfo implements Serializable {
    private String address;//详细地址
    private String area;//省市区
    private String areaIds;//省市区IDs
    private String linkman;//联系人
    private String mobile;//手机号
    private int mode;//类型 0发货 1  收获
    private String name;//地点
    private Long parentId;//订单id

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAreaIds() {
        return areaIds;
    }

    public void setAreaIds(String areaIds) {
        this.areaIds = areaIds;
    }

    public String getLinkman() {
        return linkman;
    }

    public void setLinkman(String linkman) {
        this.linkman = linkman;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Map<String,Object> getRequestBody1(){
        Map<String,Object> pMap = new HashMap<>();
        pMap.put("linkman",linkman);
        pMap.put("mobile",mobile);
        pMap.put("area",area);
        pMap.put("address",address);
        return pMap;
    }
    public Map<String,Object> getRequestBody2(){
        Map<String,Object> pMap = new HashMap<>();
        pMap.put("linkman",linkman);
        pMap.put("mobile",mobile);
        pMap.put("area",area);
        pMap.put("address",address);
        pMap.put("parentId",parentId);
        return pMap;
    }
}
